package com.xwtec.builder;

/**
 * @Author: zt
 * @Date: 2021/3/6 15:42
 */
public class Main {

    public static void main(String[] args) {
        Person p = new Person.PersonBuilder()
                .buildBasic("1001","zhangsan",25)
                .buildWeight(75.5)
                .buildScore(98)
                .buildLocation(new Location("铁心桥","2307"))
                .build();
        System.out.println(p);
    }
}
